/**
 * Settle模块国际化配置 - 中文
 * @description 商户结算管理模块的中文国际化配置
 * @author AI Assistant
 * @since 1.0.0
 */

export default {
  // 通用
  common: {
    search: '搜索',
    reset: '重置',
    add: '新增',
    edit: '编辑',
    delete: '删除',
    view: '查看',
    export: '导出',
    import: '导入',
    confirm: '确认',
    cancel: '取消',
    save: '保存',
    submit: '提交',
    back: '返回',
    refresh: '刷新',
    loading: '加载中...',
    noData: '暂无数据',
    operation: '操作',
    status: '状态',
    createTime: '创建时间',
    updateTime: '更新时间',
    remark: '备注',
    pleaseSelect: '请选择',
    pleaseInput: '请输入',
    startTime: '开始时间',
    endTime: '结束时间',
    confirmTitle: '系统提示',
    exportSuccess: '导出成功'
  },

  // 分账记录
  splitRecord: {
    title: '分账记录',
    orderNo: '订单编号',
    totalAmount: '订单金额',
    splitAmount: '分账金额',
    receiverAccount: '收款方账户',
    receiverName: '收款方名称',
    splitStatus: '分账状态',
    splitTime: '分账时间',
    failReason: '失败原因',

    // 分账状态
    splitStatuses: {
      pending: '处理中',
      success: '成功',
      failed: '失败'
    }
  },

  // 菜单
  menu: {
    settle: '商户结算',
    merchant: '商户管理',
    splitRule: '分账管理',
    settleOrder: '结算管理',
    subMerchant: '子商户管理',
    payment: '支付管理',
    balance: '余额管理',
    reconciliation: '对账管理',
    withdraw: '提现管理'
  },

  // 商户管理
  merchant: {
    title: '商户管理',
    merchantNo: '商户编号',
    merchantName: '商户名称',
    merchantType: '商户类型',
    channelType: '渠道类型',
    contactName: '联系人姓名',
    contactPhone: '联系人电话',
    contactEmail: '联系人邮箱',
    settleCycle: '结算周期',
    settleAccount: '结算账号',
    audit: '审核',
    freeze: '冻结',
    unfreeze: '解冻',
    auditPass: '审核通过',
    auditReject: '审核拒绝',
    auditRemark: '审核备注',
    auditResult: '审核结果',
    freezeReason: '冻结原因',
    unfreezeReason: '解冻原因',

    // 商户类型
    merchantTypes: {
      enterprise: '企业商户',
      individual: '个体商户',
      micro: '小微商户'
    },

    // 渠道类型
    channelTypes: {
      huifu: '汇付天下',
      unionpay: '银联商务'
    },

    // 状态
    statuses: {
      pending: '待审核',
      approved: '审核通过',
      rejected: '审核拒绝',
      frozen: '已冻结'
    },

    // 结算周期
    settleCycles: {
      daily: '每日',
      weekly: '每周',
      monthly: '每月'
    },

    // 表单验证
    rules: {
      merchantNameRequired: '请输入商户名称',
      merchantTypeRequired: '请选择商户类型',
      channelTypeRequired: '请选择渠道类型',
      contactNameRequired: '请输入联系人姓名',
      contactPhoneRequired: '请输入联系人电话',
      contactPhoneFormat: '请输入正确的手机号码',
      contactEmailFormat: '请输入正确的邮箱地址',
      settleCycleRequired: '请选择结算周期',
      settleAccountRequired: '请输入结算账号'
    },

    // 操作提示
    tips: {
      deleteConfirm: '确定要删除该商户吗？',
      auditConfirm: '确定要审核该商户吗？',
      freezeConfirm: '确定要冻结该商户吗？',
      unfreezeConfirm: '确定要解冻该商户吗？',
      createSuccess: '创建商户成功',
      updateSuccess: '更新商户成功',
      deleteSuccess: '删除商户成功',
      auditSuccess: '审核商户成功',
      freezeSuccess: '冻结商户成功',
      unfreezeSuccess: '解冻商户成功'
    }
  },

  // 分账管理
  splitRule: {
    title: '分账规则管理',
    ruleNo: '规则编号',
    splitRuleType: '规则类型',
    splitRatio: '分账比例',
    splitAmount: '分账金额',
    ruleStatus: '规则状态',
    enable: '启用',
    disable: '禁用',

    // 规则类型
    ruleTypes: {
      ratio: '固定比例',
      amount: '固定金额'
    },

    // 规则状态
    ruleStatuses: {
      disabled: '禁用',
      enabled: '启用'
    },

    // 分账记录
    splitRecord: {
      title: '分账记录',
      orderNo: '订单号',
      splitAmount: '分账金额',
      splitStatus: '分账状态',
      splitTime: '分账时间',
      execute: '执行分账',

      // 分账状态
      statuses: {
        pending: '待分账',
        success: '分账成功',
        failed: '分账失败'
      }
    },

    // 表单验证
    rules: {
      merchantNoRequired: '请选择商户',
      splitRuleTypeRequired: '请选择规则类型',
      splitRatioRequired: '请输入分账比例',
      splitRatioRange: '分账比例必须在0-100之间',
      splitAmountRequired: '请输入分账金额',
      splitAmountMin: '分账金额必须大于0'
    },

    // 操作提示
    tips: {
      deleteConfirm: '确定要删除该分账规则吗？',
      enableConfirm: '确定要启用该分账规则吗？',
      disableConfirm: '确定要禁用该分账规则吗？',
      executeConfirm: '确定要执行分账吗？',
      createSuccess: '创建分账规则成功',
      updateSuccess: '更新分账规则成功',
      deleteSuccess: '删除分账规则成功',
      enableSuccess: '启用分账规则成功',
      disableSuccess: '禁用分账规则成功',
      executeSuccess: '执行分账成功'
    }
  },

  // 结算管理
  settleOrder: {
    title: '结算管理',
    settleNo: '结算单号',
    settleAmount: '结算金额',
    settleStatus: '结算状态',
    settleTime: '结算时间',
    execute: '执行结算',
    batchExecute: '批量结算',
    cancel: '取消结算',
    retry: '重新结算',
    downloadDetail: '下载详情',

    // 结算状态
    statuses: {
      pending: '待结算',
      settled: '已结算',
      failed: '结算失败'
    },

    // 统计
    statistics: {
      totalAmount: '总结算金额',
      totalCount: '总结算笔数',
      pendingAmount: '待结算金额',
      pendingCount: '待结算笔数',
      settledAmount: '已结算金额',
      settledCount: '已结算笔数',
      failedAmount: '结算失败金额',
      failedCount: '结算失败笔数'
    },

    // 操作提示
    tips: {
      executeConfirm: '确定要执行结算吗？',
      batchExecuteConfirm: '确定要批量执行结算吗？',
      cancelConfirm: '确定要取消结算吗？',
      retryConfirm: '确定要重新结算吗？',
      createSuccess: '创建结算单成功',
      executeSuccess: '执行结算成功',
      batchExecuteSuccess: '批量执行结算成功',
      cancelSuccess: '取消结算成功',
      retrySuccess: '重新结算成功'
    }
  },

  // 子商户管理
  subMerchant: {
    title: '子商户管理',
    subMerchantNo: '子商户编号',
    subMerchantName: '子商户名称',
    subMerchantType: '子商户类型',
    batchAudit: '批量审核',

    // 子商户类型
    subMerchantTypes: {
      personal: '个人',
      enterprise: '企业'
    },

    // 状态
    statuses: {
      pending: '待审核',
      approved: '审核通过',
      rejected: '审核拒绝'
    },

    // 表单验证
    rules: {
      merchantNoRequired: '请选择主商户',
      subMerchantNameRequired: '请输入子商户名称',
      subMerchantTypeRequired: '请选择子商户类型',
      contactNameRequired: '请输入联系人姓名',
      contactPhoneRequired: '请输入联系人电话'
    },

    // 操作提示
    tips: {
      deleteConfirm: '确定要删除该子商户吗？',
      auditConfirm: '确定要审核该子商户吗？',
      batchAuditConfirm: '确定要批量审核选中的子商户吗？',
      createSuccess: '创建子商户成功',
      updateSuccess: '更新子商户成功',
      deleteSuccess: '删除子商户成功',
      auditSuccess: '审核子商户成功',
      batchAuditSuccess: '批量审核子商户成功'
    }
  },

  // 支付管理
  payment: {
    title: '支付管理',
    orderNo: '订单号',
    amount: '订单金额',
    paymentMethod: '支付方式',
    payTime: '支付时间',
    syncStatus: '同步状态',
    close: '关闭订单',

    // 支付方式
    paymentMethods: {
      wechat: '微信支付',
      alipay: '支付宝',
      unionpay: '银联支付',
      digitalRmb: '数字人民币'
    },

    // 订单状态
    statuses: {
      pending: '待支付',
      success: '支付成功',
      failed: '支付失败',
      closed: '已关闭',
      refunded: '已退款'
    },

    // 退款管理
    refund: {
      title: '退款管理',
      refundNo: '退款单号',
      originalOrderNo: '原订单号',
      refundAmount: '退款金额',
      refundStatus: '退款状态',
      refundCompleteTime: '退款完成时间',
      createRefund: '创建退款',
      syncRefundStatus: '同步退款状态',

      // 退款状态
      statuses: {
        processing: '处理中',
        success: '成功',
        failed: '失败'
      }
    },

    // 统计
    statistics: {
      totalAmount: '总交易金额',
      totalCount: '总交易笔数',
      successAmount: '成功交易金额',
      successCount: '成功交易笔数',
      refundAmount: '退款金额',
      refundCount: '退款笔数',
      successRate: '成功率'
    },

    // 操作提示
    tips: {
      syncConfirm: '确定要同步支付状态吗？',
      closeConfirm: '确定要关闭该订单吗？',
      createRefundConfirm: '确定要创建退款申请吗？',
      syncRefundConfirm: '确定要同步退款状态吗？',
      syncSuccess: '同步支付状态成功',
      closeSuccess: '关闭订单成功',
      createRefundSuccess: '创建退款申请成功',
      syncRefundSuccess: '同步退款状态成功'
    }
  },

  // 余额管理
  balance: {
    title: '余额管理',
    availableBalance: '可用余额',
    frozenBalance: '冻结余额',
    totalBalance: '总余额',
    adjust: '调整余额',
    freeze: '冻结余额',
    unfreeze: '解冻余额',
    changeRecord: '变动记录',

    // 变动类型
    changeTypes: {
      income: '收入',
      expense: '支出',
      freeze: '冻结',
      unfreeze: '解冻'
    },

    // 余额变动记录
    balanceChange: {
      title: '余额变动记录',
      changeType: '变动类型',
      changeAmount: '变动金额',
      beforeBalance: '变动前余额',
      afterBalance: '变动后余额'
    },

    // 统计
    statistics: {
      totalMerchants: '总商户数',
      totalBalance: '总余额',
      totalAvailableBalance: '总可用余额',
      totalFrozenBalance: '总冻结余额',
      avgBalance: '平均余额',
      maxBalance: '最大余额',
      minBalance: '最小余额'
    },

    // 表单验证
    rules: {
      merchantNoRequired: '请选择商户',
      changeTypeRequired: '请选择变动类型',
      changeAmountRequired: '请输入变动金额',
      changeAmountMin: '变动金额必须大于0',
      remarkRequired: '请输入调整原因',
      freezeAmountRequired: '请输入冻结金额',
      unfreezeAmountRequired: '请输入解冻金额'
    },

    // 操作提示
    tips: {
      adjustConfirm: '确定要调整商户余额吗？',
      freezeConfirm: '确定要冻结商户余额吗？',
      unfreezeConfirm: '确定要解冻商户余额吗？',
      adjustSuccess: '调整商户余额成功',
      freezeSuccess: '冻结商户余额成功',
      unfreezeSuccess: '解冻商户余额成功'
    }
  },

  // 对账管理
  reconciliation: {
    title: '对账管理',
    fileName: '文件名称',
    fileSize: '文件大小',
    reconcileDate: '对账日期',
    totalCount: '总笔数',
    totalAmount: '总金额',
    successCount: '成功笔数',
    failCount: '失败笔数',
    upload: '上传文件',
    process: '处理文件',
    reprocess: '重新处理',
    download: '下载文件',

    // 文件状态
    fileStatuses: {
      pending: '待处理',
      processing: '处理中',
      completed: '处理完成',
      failed: '处理失败'
    },

    // 对账差异
    diff: {
      title: '对账差异',
      diffType: '差异类型',
      ourAmount: '我方金额',
      channelAmount: '渠道方金额',
      ourStatus: '我方状态',
      channelStatus: '渠道方状态',
      handleStatus: '处理状态',
      handleRemark: '处理备注',
      handle: '处理差异',
      batchHandle: '批量处理',

      // 差异类型
      diffTypes: {
        amountDiff: '金额不符',
        statusDiff: '状态不符',
        extraRecord: '多账',
        missingRecord: '少账'
      },

      // 处理状态
      handleStatuses: {
        pending: '待处理',
        handled: '已处理',
        ignored: '已忽略'
      }
    },

    // 统计
    statistics: {
      totalFiles: '总文件数',
      processedFiles: '已处理文件数',
      pendingFiles: '待处理文件数',
      failedFiles: '处理失败文件数',
      totalDiffs: '总差异数',
      handledDiffs: '已处理差异数',
      pendingDiffs: '待处理差异数',
      ignoredDiffs: '已忽略差异数'
    },

    // 操作提示
    tips: {
      uploadSuccess: '上传对账文件成功',
      processConfirm: '确定要处理该对账文件吗？',
      reprocessConfirm: '确定要重新处理该对账文件吗？',
      deleteConfirm: '确定要删除该对账文件吗？',
      handleConfirm: '确定要处理该差异记录吗？',
      batchHandleConfirm: '确定要批量处理选中的差异记录吗？',
      processSuccess: '处理对账文件成功',
      reprocessSuccess: '重新处理对账文件成功',
      deleteSuccess: '删除对账文件成功',
      handleSuccess: '处理差异记录成功',
      batchHandleSuccess: '批量处理差异记录成功'
    }
  },

  // 提现管理
  withdraw: {
    title: '提现管理',
    applyNo: '申请单号',
    withdrawAmount: '提现金额',
    withdrawFee: '提现手续费',
    actualAmount: '实际到账金额',
    bankAccount: '银行账号',
    bankName: '银行名称',
    accountName: '账户名称',
    auditRemark: '审核备注',
    auditTime: '审核时间',
    withdrawTime: '提现时间',
    audit: '审核',
    batchAudit: '批量审核',
    execute: '执行提现',
    batchExecute: '批量执行',
    syncStatus: '同步状态',
    retry: '重新提现',

    // 提现状态
    statuses: {
      pendingAudit: '待审核',
      auditPassed: '审核通过',
      auditRejected: '审核拒绝',
      withdrawing: '提现中',
      withdrawSuccess: '提现成功',
      withdrawFailed: '提现失败'
    },

    // 统计
    statistics: {
      totalAmount: '总提现金额',
      totalCount: '总提现笔数',
      pendingAmount: '待审核金额',
      pendingCount: '待审核笔数',
      approvedAmount: '已审核金额',
      approvedCount: '已审核笔数',
      successAmount: '提现成功金额',
      successCount: '提现成功笔数',
      failedAmount: '提现失败金额',
      failedCount: '提现失败笔数',
      totalFee: '总手续费'
    },

    // 提现配置
    config: {
      minWithdrawAmount: '最小提现金额',
      maxWithdrawAmount: '最大提现金额',
      dailyWithdrawLimit: '每日提现限额',
      withdrawFeeRate: '提现手续费率',
      withdrawFixedFee: '提现固定手续费',
      autoAudit: '自动审核',
      autoAuditAmount: '自动审核金额阈值'
    },

    // 表单验证
    rules: {
      merchantNoRequired: '请选择商户',
      withdrawAmountRequired: '请输入提现金额',
      withdrawAmountMin: '提现金额必须大于0',
      bankAccountRequired: '请输入银行账号',
      bankNameRequired: '请输入银行名称',
      accountNameRequired: '请输入账户名称',
      auditStatusRequired: '请选择审核状态'
    },

    // 操作提示
    tips: {
      auditConfirm: '确定要审核该提现申请吗？',
      batchAuditConfirm: '确定要批量审核选中的提现申请吗？',
      executeConfirm: '确定要执行提现吗？',
      batchExecuteConfirm: '确定要批量执行提现吗？',
      syncConfirm: '确定要同步提现状态吗？',
      retryConfirm: '确定要重新提现吗？',
      createSuccess: '创建提现申请成功',
      auditSuccess: '审核提现申请成功',
      batchAuditSuccess: '批量审核提现申请成功',
      executeSuccess: '执行提现成功',
      batchExecuteSuccess: '批量执行提现成功',
      syncSuccess: '同步提现状态成功',
      retrySuccess: '重新提现成功'
    }
  }
}
